﻿;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; VICTORY (Based on control of various map positions)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; USAGE:
;
; Basic structure for an mobilization event:
; {
; #NAME= Event name (this will be shown as a selectable event under an OPTIONS screen within the game)
; #POPUP= Event popup text (this will be displayed when the event occurs)
; #IMAGE= Event image that will be displayed when event occurs
;         PNG images must be 736x418 or 368x418 pixels, see 'Extras' folder for sample images and frames
;         Multiple pictures can be used by using a ',' to separate them
;         Format: picture1.png, picture2.png, picture3.png, picture4.png
; #SOUND= Event sound that will be displayed when event occurs
;         Multiple sounds can be used by using a ',' to separate them
;         Format: sound1.mp3, sound2.mp3, sound3.mp3, sound4.mp3
; #FLAG= Will this be a default event for the campaign? (values range [0, 1]; True= 1; False= 0)
; #TYPE= Values range [0, 3];
;        With all other fields satisfied will this be:
;        0 = Single check regardless if #TRIGGER is satisfied
;        1 = Multiple check until #TRIGGER is satisfied
;        2 = Reoccuring check until end of game
;                       OR
;        Once the #DATE field is satisfied:
;        3 = Event fires once if all other fields are satisfied, else it will not fire.  Either way, event will be removed never to be looked at again
; #AI= Values range [0, 4]
; 0 = Event fires whenever all fields are satisfied for any game type
; 1 = Event fires whenever all fields are satisfied, for Single Player games only, and only when the AI is Axis
; 2 = Event fires whenever all fields are satisfied, for Single Player games only, and only when the AI is Allied
; 3 = Event fires whenever all fields are satisfied, for any game type, and only when the AI is Axis in Single Player, or on Allied Multiplayer turns
; 4 = Event fires whenever all fields are satisfied, for any game type, and only when the AI is Allied in Single Player, or on Axis Multiplayer turns
; #LEVEL= What minimum skill level, as selected from the AI difficulty level screen in game, with this event apply to?
;         Values: [0, 4]; Green= 0; Novice= 1; Intermediate= 2; Veteran= 3; Expert= 4
; #GV= Does the event activate based on the Global Variable values assigned?
;      Ten random Global Variables are assigned at the start of the campaign each with a value between [1,100]
;      Format: GV [min, max]; GV range [1,10]; min range [1,100]; max range [1,100]
;      Example A) #GV= 1[1,100] will always trigger because Global Variable #1 will always have a value between [1,100]
;      Example B) #GV= 4[71,100] will trigger 30% per game
; #LINK= Does the event activate based on the Link values assigned?
;        A campaign can have up to 1100 Decision events and is referenced by other events via this parameter
;        Format: decision[flag]; flag range [0, 1]; True= 1; False= 0
;        Example A) #LINK= 0[0] will always trigger as formal DECISION events can only be from 1-1100
;        Example B) #LINK= 1[0] will trigger whenever #DECISION= 1 is not accepted
;        Example C) #LINK= 3[1] will trigger whenever #DECISION= 3 is accepted
; #TRIGGER= Trigger percentage that the event will occur (values range [0, 100])
; #ALIGNMENT= Collective control status of #MAP_POSITIONs
; #VICTORY_PERCENTAGE= Percentage of the tournament round victory points assigned to the winner, with the difference assigned to the defeated player
; #DATE= Date that must be satisfied (in game) for event to occur (format yyyy/mm/dd)
; #MAP_POSITION= Map positions that must be controlled relative to #ALIGNMENT in order to satisfy the event
; #NATIONAL_MORALE_TRIGGER= Under what national morale situation will this event occur
;                           Format: country_id [national_morale_percentage] [above_or_below] (above_or_below values range [0, 1]; Above=1; Below=0)

; }
;
; NOTES:
;
; Each event must be preceded by a '{' and end with a '}'
;
; More than one #MAP_POSITION can be set
;
; More than one #NATIONAL_MORALE_TRIGGER can be set and the event checks for a value less than the
; 'national_morale_percentage' when 'above_or_below' is set to [0] and a value greater than or
; equal to 'national_morale_percentage' when 'above_or_below' is set to [1]
; Each #NATIONAL_MORALE_TRIGGER line will be read using AND logic.
;
; Use the reference values provided for ALIGNMENT and not names
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ALIGNMENT REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; AXIS= 1
; ALLIED= 2
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


; UK below 1% NM and France has signed an armistice
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 931[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; UK below 1% NM and Russia has signed an armistice
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 941[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; France below 1% NM and Russia has signed an armistice
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 942[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; UK below 1% NM and France surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 31[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; UK below 1% NM and Russia surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 41[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; France below 1% NM and the UK surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 32[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; France below 1% NM and Russia surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 42[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; Russia below 1% NM and the UK surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 34[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; Russia below 1% NM and France surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 44[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; France and Russia's National Morale have dropped below 1%
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 40 [1] [0]
#NATIONAL_MORALE_TRIGGER= 97 [1] [0]
}

; France and the UK's National Morale have dropped below 1%
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 112 [1] [0]
#NATIONAL_MORALE_TRIGGER= 40 [1] [0]
}

; Russia and the UK's National Morale have dropped below 1%
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 112 [1] [0]
#NATIONAL_MORALE_TRIGGER= 97 [1] [0]
}

; Russia and France have surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 945[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; The UK and Russia have surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 946[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; The UK and France have surrendered
{
#NAME= Central Powers Major Victory
#POPUP= <<TAG_1>>
#IMAGE= Central_Powers_Victory_2.png, Central_Powers_Victory_3.png, Central_Powers_Victory_4.png, Central_Powers_Victory_6.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 947[1]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Central Powers control -> Berlin
#MAP_POSITION= 173,74
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

; Germany's National Morale has dropped below 1%
{
#NAME= Entente Major Victory
#POPUP= <<TAG_2>>
#IMAGE= Entente_Major_Victory_1.png, Armistice.png, Armistice2.png
#SOUND= 
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#TRIGGER= 100
#ALIGNMENT= 2
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Entente control -> Ottawa
#MAP_POSITION= 6,93
#NATIONAL_MORALE_TRIGGER= 45 [1] [0]
}

; Germany has surrendered
{
#NAME= Entente Major Victory
#POPUP= <<TAG_2>>
#IMAGE= Entente_Major_Victory_1.png, Armistice.png, Armistice2.png
#SOUND= 
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 36[1]
#TRIGGER= 100
#ALIGNMENT= 2
#VICTORY_PERCENTAGE= 80
#DATE= 1914/08/01
; Entente control -> Ottawa
#MAP_POSITION= 6,93
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

{
#NAME= Central Powers Minor Victory
#POPUP= <<TAG_3>>
#IMAGE= Central_Powers_Victory_1.png, Central_Powers_Victory_5.png, Central_Powers_Victory_7.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#TRIGGER= 100
#ALIGNMENT= 1
#VICTORY_PERCENTAGE= 70
#DATE= 1918/11/11
; Central Powers control -> Berlin, Vienna, Constantinople, Paris, Verdun
#MAP_POSITION= 173,74
#MAP_POSITION= 179,86
#MAP_POSITION= 203,102
#MAP_POSITION= 151,84
#MAP_POSITION= 157,83
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

{
#NAME= Entente Minor Victory
#POPUP= <<TAG_4>>
#IMAGE= Entente_Victory_1.png
#SOUND= 
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#TRIGGER= 100
#ALIGNMENT= 2
#VICTORY_PERCENTAGE= 70
#DATE= 1918/11/11
; Entente control -> London, Paris, Verdun, Cairo
#MAP_POSITION= 147,77
#MAP_POSITION= 151,84
#MAP_POSITION= 157,83
#MAP_POSITION= 208,126
#NATIONAL_MORALE_TRIGGER= 0 [0] [0]
}

